package org.kosta.android.samples.part1;

import org.kosta.android.samples.R;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

public class OtherActivity extends Activity {
	private TextView mTextView;
	
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.other_activity);
        
        Intent intent = getIntent();
        String value = intent.getStringExtra("name");
        
        mTextView = (TextView)findViewById(R.id.result);
        mTextView.setText(value);
        

    }

}
